package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 登录记录
 * </p>
 *
 * @author zl
 * @since 2025-10-18
 */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("t_login_log")
        public class LoginLog implements Serializable {

        private static final long serialVersionUID = 1L;
    
                        @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @TableField("create_time")
    private Long createTime;

        @TableField("login_id")
    private Long loginId;

            /**
             * IP
             */
        @TableField("ip")
    private String ip;

            /**
             * 客户端
             */
        @TableField("client_info")
    private String clientInfo;

            /**
             * 登录方式
             */
        @TableField("login_type")
    private Byte loginType;

            /**
             * 登录是否成功
             */
        @TableField("success")
    private Byte success;

            /**
             * 结果说明
             */
        @TableField("remark")
    private String remark;
    }